home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
zftpd047.zip
/
zftpd.cfg
< prev
next >
Wrap
Text File
|
1997-06-06
|
6KB
|
103 lines
###############################################################################
# #
# This is a sample configuration file for zftpd. #
# #
# Command line parameters may override any of the parameters specified in #
# this file #
# #
###############################################################################
###############################
# MAIN zftpd CONFIG GOES HERE #
###############################
[zftpd]
# Default location of database files
users_file: zftpd.usr
groups_file: zftpd.grp
shares_file: zftpd.sha
members_file: zftpd.mem
# Default ftp port
ftp_port: 21
# Max concurrent users
max_users: 16
# Usage logging (not implemented yet)
usagelog_level: 0
usagelog_file: zftpduse.log
cmdlog_level: 0
cmdlog_file: zftpdcmd.log
###############################################################################
# ACCESS RULES GOES HERE #
# #
# All access rule lines are split in two with a |-character the first part is #
# the condition which has to be satisfied for the action (the second part) to #
# be carried out. #
# #
# Multiple conditions or actions should be separated with a ;-character #
# Also multiple masks in the conditions are processes as the comma between is #
# and OR #
# #
# CONDITIONS #
# #
# super (N/I) #
# #
# anon=[passwordmask]{,[passwordmask]} #
# #
# usr=[usermask]{,[usermask]} #
# Same as group. #
# #
# grp=[groupmask]{,[groupmask]} (N/I) #
# This should consist of one or more groups which are affected by this rule.#
# #
# time=[timemask]{,[timemask]} (N/I) #
# Specify the time range this rule is active in the format: #
# {[day]!}{[hour]{:[minute]}}-{[day]!}{[hour]{:[minute]}} #
# #
# [day] = 0 to 6 for Sun - Sat #
# [hour] = 0 to 23 #
# [minute] = 0 to 59 #
# #
# This timemask only affect login time, when the user is logged in he is not#
# thrown out even if exceeding this limit. #
# #
# ip=[ipmask]{,[ipmask]} #
# Specify one or more IP masks separated by commas. #
# #
# name=[namemask]{,[namemask]} #
# Specify one or more hostnames separated by commas. #
# #
# cnt=[<|>count] (N/I) #
# Number of active connections #
# #
# ACTIONS #
# #
# allow #
# #
# deny #
# #
# stop #
# #
# welcome=[path] #
# Welcome file displayed to user matching this rule. Only the welcome file #
# for the last matching rule is displayed. #
# #
# prelogin=[path] (N/I) #
# #
# skip=[lines] (N/I) #
# #
# initdir=[directory] (N/I) #
# #
# (N/I) mean that the condition or action are not implemented yet #
# #
###############################################################################
[accessrules]
usr=*|allow;welcome=.zftpd.welcome
anon=*|deny;welcome=.zftpd.noaccess
anon=*@*.*|allow;welcome=.zftpd.welcome